<?php

namespace Modules\Common\Services;

use Modules\Common\Exceptions\BaseException;
use Throwable;

class BaseService {
    public function __construct() {
    }

    public function Error($message = "", $code = 0, $http_code = 200, Throwable $previous = null) {
        throw new BaseException($message, $code, $http_code, $previous);
    }
}
